import { WeElement, define } from 'omi'


//获取应用实例
const app = getApp()

define('out-html', class extends WeElement {
    config = {
      navigationBarTitleText: ''
    }
    data={
        url:"",//外部链接
    }
    install(e){
        console.log(e);
        this.data.url=e.url;
        this.update();
    }

    render(){
        const {url} = this.data
        return(
       
                 <web-view  src={url}></web-view>

           
        )
    }

})